package org.whale.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.whale.entity.AppointmentOrder;

public interface AppointmentOrderService extends IService<AppointmentOrder> {

    /**
     * 根据身份证查询挂号单
     * @param idCard ：身份证
     * @return：挂号单
     */
    AppointmentOrder getByIdCard(String idCard);


    /**
     * 查询预约单
     * @param order ：查询参数
     * @return ：预约单
     */
    AppointmentOrder queryOrder(AppointmentOrder order);

    /**
     * 保持预约单
     * @param appointmentOrder ：挂号参数
     */
    void saveAppointmentOrder(AppointmentOrder appointmentOrder);
}
